Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

diff2(x, y) -> cond13(equal2(x, y), x, y)
cond13(true, x, y) -> 0
cond13(false, x, y) -> cond23(gt2(x, y), x, y)
cond23(true, x, y) -> s1(diff2(x, s1(y)))
cond23(false, x, y) -> s1(diff2(s1(x), y))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)



QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

diff2(x, y) -> cond13(equal2(x, y), x, y)
cond13(true, x, y) -> 0
cond13(false, x, y) -> cond23(gt2(x, y), x, y)
cond23(true, x, y) -> s1(diff2(x, s1(y)))
cond23(false, x, y) -> s1(diff2(s1(x), y))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)


Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)
COND23(false, x, y) -> DIFF2(s1(x), y)
GT2(s1(u), s1(v)) -> GT2(u, v)
COND13(false, x, y) -> COND23(gt2(x, y), x, y)
DIFF2(x, y) -> EQUAL2(x, y)
COND13(false, x, y) -> GT2(x, y)
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

diff2(x, y) -> cond13(equal2(x, y), x, y)
cond13(true, x, y) -> 0
cond13(false, x, y) -> cond23(gt2(x, y), x, y)
cond23(true, x, y) -> s1(diff2(x, s1(y)))
cond23(false, x, y) -> s1(diff2(s1(x), y))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)
COND23(false, x, y) -> DIFF2(s1(x), y)
GT2(s1(u), s1(v)) -> GT2(u, v)
COND13(false, x, y) -> COND23(gt2(x, y), x, y)
DIFF2(x, y) -> EQUAL2(x, y)
COND13(false, x, y) -> GT2(x, y)
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

diff2(x, y) -> cond13(equal2(x, y), x, y)
cond13(true, x, y) -> 0
cond13(false, x, y) -> cond23(gt2(x, y), x, y)
cond23(true, x, y) -> s1(diff2(x, s1(y)))
cond23(false, x, y) -> s1(diff2(s1(x), y))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 3 SCCs with 2 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
QDP
            ↳ UsableRulesProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)

The TRS R consists of the following rules:

diff2(x, y) -> cond13(equal2(x, y), x, y)
cond13(true, x, y) -> 0
cond13(false, x, y) -> cond23(gt2(x, y), x, y)
cond23(true, x, y) -> s1(diff2(x, s1(y)))
cond23(false, x, y) -> s1(diff2(s1(x), y))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)

R is empty.
The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
QDP
            ↳ UsableRulesProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GT2(s1(u), s1(v)) -> GT2(u, v)

The TRS R consists of the following rules:

diff2(x, y) -> cond13(equal2(x, y), x, y)
cond13(true, x, y) -> 0
cond13(false, x, y) -> cond23(gt2(x, y), x, y)
cond23(true, x, y) -> s1(diff2(x, s1(y)))
cond23(false, x, y) -> s1(diff2(s1(x), y))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GT2(s1(u), s1(v)) -> GT2(u, v)

R is empty.
The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GT2(s1(u), s1(v)) -> GT2(u, v)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, x, y) -> COND23(gt2(x, y), x, y)
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

diff2(x, y) -> cond13(equal2(x, y), x, y)
cond13(true, x, y) -> 0
cond13(false, x, y) -> cond23(gt2(x, y), x, y)
cond23(true, x, y) -> s1(diff2(x, s1(y)))
cond23(false, x, y) -> s1(diff2(s1(x), y))
gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, x, y) -> COND23(gt2(x, y), x, y)
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

cond23(false, x0, x1)
cond13(false, x0, x1)
diff2(x0, x1)
cond13(true, x0, x1)
cond23(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, x, y) -> COND23(gt2(x, y), x, y)
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule COND13(false, x, y) -> COND23(gt2(x, y), x, y) at position [0] we obtained the following new rules:

COND13(false, s1(x0), 0) -> COND23(true, s1(x0), 0)
COND13(false, 0, x0) -> COND23(false, 0, x0)
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
QDP
                        ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND13(false, 0, x0) -> COND23(false, 0, x0)
COND13(false, s1(x0), 0) -> COND23(true, s1(x0), 0)
COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule DIFF2(x, y) -> COND13(equal2(x, y), x, y) at position [0] we obtained the following new rules:

DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1))
DIFF2(0, s1(x0)) -> COND13(false, 0, s1(x0))
DIFF2(s1(x0), 0) -> COND13(false, s1(x0), 0)
DIFF2(0, 0) -> COND13(true, 0, 0)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
QDP
                            ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

DIFF2(s1(x0), 0) -> COND13(false, s1(x0), 0)
DIFF2(0, s1(x0)) -> COND13(false, 0, s1(x0))
COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, s1(x0), 0) -> COND23(true, s1(x0), 0)
COND13(false, 0, x0) -> COND23(false, 0, x0)
DIFF2(0, 0) -> COND13(true, 0, 0)
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1))
COND23(true, x, y) -> DIFF2(x, s1(y))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
                          ↳ QDP
                            ↳ DependencyGraphProof
QDP
                                ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND13(false, s1(x0), 0) -> COND23(true, s1(x0), 0)
DIFF2(s1(x0), 0) -> COND13(false, s1(x0), 0)
COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, 0, x0) -> COND23(false, 0, x0)
DIFF2(0, s1(x0)) -> COND13(false, 0, s1(x0))
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1))
COND23(true, x, y) -> DIFF2(x, s1(y))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule COND23(true, x, y) -> DIFF2(x, s1(y)) we obtained the following new rules:

COND23(true, s1(z0), s1(z1)) -> DIFF2(s1(z0), s1(s1(z1)))
COND23(true, s1(z0), 0) -> DIFF2(s1(z0), s1(0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
                          ↳ QDP
                            ↳ DependencyGraphProof
                              ↳ QDP
                                ↳ Instantiation
QDP
                                    ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

DIFF2(0, s1(x0)) -> COND13(false, 0, s1(x0))
COND13(false, 0, x0) -> COND23(false, 0, x0)
COND23(false, x, y) -> DIFF2(s1(x), y)
DIFF2(s1(x0), 0) -> COND13(false, s1(x0), 0)
COND13(false, s1(x0), 0) -> COND23(true, s1(x0), 0)
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
COND23(true, s1(z0), s1(z1)) -> DIFF2(s1(z0), s1(s1(z1)))
DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1))
COND23(true, s1(z0), 0) -> DIFF2(s1(z0), s1(0))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 2 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
                          ↳ QDP
                            ↳ DependencyGraphProof
                              ↳ QDP
                                ↳ Instantiation
                                  ↳ QDP
                                    ↳ DependencyGraphProof
QDP
                                        ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND13(false, s1(x0), 0) -> COND23(true, s1(x0), 0)
DIFF2(s1(x0), 0) -> COND13(false, s1(x0), 0)
COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
COND23(true, s1(z0), s1(z1)) -> DIFF2(s1(z0), s1(s1(z1)))
DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1))
COND23(true, s1(z0), 0) -> DIFF2(s1(z0), s1(0))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule COND23(false, x, y) -> DIFF2(s1(x), y) we obtained the following new rules:

COND23(false, s1(z0), s1(z1)) -> DIFF2(s1(s1(z0)), s1(z1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
                          ↳ QDP
                            ↳ DependencyGraphProof
                              ↳ QDP
                                ↳ Instantiation
                                  ↳ QDP
                                    ↳ DependencyGraphProof
                                      ↳ QDP
                                        ↳ Instantiation
QDP
                                            ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, s1(z0), s1(z1)) -> DIFF2(s1(s1(z0)), s1(z1))
DIFF2(s1(x0), 0) -> COND13(false, s1(x0), 0)
COND13(false, s1(x0), 0) -> COND23(true, s1(x0), 0)
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
COND23(true, s1(z0), s1(z1)) -> DIFF2(s1(z0), s1(s1(z1)))
DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1))
COND23(true, s1(z0), 0) -> DIFF2(s1(z0), s1(0))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 3 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
                          ↳ QDP
                            ↳ DependencyGraphProof
                              ↳ QDP
                                ↳ Instantiation
                                  ↳ QDP
                                    ↳ DependencyGraphProof
                                      ↳ QDP
                                        ↳ Instantiation
                                          ↳ QDP
                                            ↳ DependencyGraphProof
QDP
                                                ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, s1(z0), s1(z1)) -> DIFF2(s1(s1(z0)), s1(z1))
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
COND23(true, s1(z0), s1(z1)) -> DIFF2(s1(z0), s1(s1(z1)))
DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule DIFF2(s1(x0), s1(x1)) -> COND13(equal2(x0, x1), s1(x0), s1(x1)) we obtained the following new rules:

DIFF2(s1(s1(z0)), s1(z1)) -> COND13(equal2(s1(z0), z1), s1(s1(z0)), s1(z1))
DIFF2(s1(z0), s1(s1(z1))) -> COND13(equal2(z0, s1(z1)), s1(z0), s1(s1(z1)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
                          ↳ QDP
                            ↳ DependencyGraphProof
                              ↳ QDP
                                ↳ Instantiation
                                  ↳ QDP
                                    ↳ DependencyGraphProof
                                      ↳ QDP
                                        ↳ Instantiation
                                          ↳ QDP
                                            ↳ DependencyGraphProof
                                              ↳ QDP
                                                ↳ Instantiation
QDP
                                                    ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, s1(z0), s1(z1)) -> DIFF2(s1(s1(z0)), s1(z1))
DIFF2(s1(s1(z0)), s1(z1)) -> COND13(equal2(s1(z0), z1), s1(s1(z0)), s1(z1))
COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1))
DIFF2(s1(z0), s1(s1(z1))) -> COND13(equal2(z0, s1(z1)), s1(z0), s1(s1(z1)))
COND23(true, s1(z0), s1(z1)) -> DIFF2(s1(z0), s1(s1(z1)))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule COND13(false, s1(x0), s1(x1)) -> COND23(gt2(x0, x1), s1(x0), s1(x1)) we obtained the following new rules:

COND13(false, s1(s1(z0)), s1(z1)) -> COND23(gt2(s1(z0), z1), s1(s1(z0)), s1(z1))
COND13(false, s1(z0), s1(s1(z1))) -> COND23(gt2(z0, s1(z1)), s1(z0), s1(s1(z1)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ Narrowing
                          ↳ QDP
                            ↳ DependencyGraphProof
                              ↳ QDP
                                ↳ Instantiation
                                  ↳ QDP
                                    ↳ DependencyGraphProof
                                      ↳ QDP
                                        ↳ Instantiation
                                          ↳ QDP
                                            ↳ DependencyGraphProof
                                              ↳ QDP
                                                ↳ Instantiation
                                                  ↳ QDP
                                                    ↳ Instantiation
QDP
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, s1(z0), s1(z1)) -> DIFF2(s1(s1(z0)), s1(z1))
COND13(false, s1(s1(z0)), s1(z1)) -> COND23(gt2(s1(z0), z1), s1(s1(z0)), s1(z1))
DIFF2(s1(s1(z0)), s1(z1)) -> COND13(equal2(s1(z0), z1), s1(s1(z0)), s1(z1))
COND13(false, s1(z0), s1(s1(z1))) -> COND23(gt2(z0, s1(z1)), s1(z0), s1(s1(z1)))
DIFF2(s1(z0), s1(s1(z1))) -> COND13(equal2(z0, s1(z1)), s1(z0), s1(s1(z1)))
COND23(true, s1(z0), s1(z1)) -> DIFF2(s1(z0), s1(s1(z1)))

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof

Q DP problem:
The TRS P consists of the following rules:

COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, x, y) -> COND23(gt2(x, y), x, y)
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
cond23(false, x0, x1)
equal2(s1(x0), s1(x1))
cond13(false, x0, x1)
diff2(x0, x1)
equal2(0, s1(x0))
cond13(true, x0, x1)
gt2(s1(x0), 0)
cond23(true, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

cond23(false, x0, x1)
cond13(false, x0, x1)
diff2(x0, x1)
cond13(true, x0, x1)
cond23(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP

Q DP problem:
The TRS P consists of the following rules:

COND23(false, x, y) -> DIFF2(s1(x), y)
COND13(false, x, y) -> COND23(gt2(x, y), x, y)
COND23(true, x, y) -> DIFF2(x, s1(y))
DIFF2(x, y) -> COND13(equal2(x, y), x, y)

The TRS R consists of the following rules:

gt2(0, v) -> false
gt2(s1(u), 0) -> true
gt2(s1(u), s1(v)) -> gt2(u, v)
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

equal2(s1(x0), 0)
equal2(0, 0)
gt2(0, x0)
gt2(s1(x0), s1(x1))
equal2(s1(x0), s1(x1))
equal2(0, s1(x0))
gt2(s1(x0), 0)

We have to consider all minimal (P,Q,R)-chains.